public class test{


public static void main(String[] args) {
	String exe = "W,W,D,W";
	String  exe1[ ]= exe.split(","); 
	for (int i = 0; i < exe1.length; i++)
	System.out.println(exe1[i]);
	
}

}
